(function($) {
    var arkflow = $.arkflow;

	arkflow.RightResizerPoint =  arkflow.ResizerPoint.extend({
        constructor: function(resizer) {
            this.base('r', "w-resize", resizer);
        },
        redraw: function(){
            this.comp.attr({
                x : this.resizer.resizeInfo.x - this.resizer.resizePointSize / 2
                    + this.resizer.resizeInfo.width,
                y : this.resizer.resizeInfo.y - this.resizer.resizePointSize / 2
                    + this.resizer.resizeInfo.height / 2
            });
        },
        onResetSize: function(W, H) {
            this.resizer.resizeInfo.width = W - this.resizer.resizeInfo.x;
        }
    });
})(jQuery);